<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        function getMaxTwo(m, n) {
            var max = m
            if (n > max) {
                max = n
            }
            return max  // 返回max到函数调用处
        }

        var m1 = getMaxTwo(38, 57)

        console.log('最大值是 ', m1)
    </script>
</body>

</html>